import Vue from 'vue'
import Router from 'vue-router'
// import TestTree from '@/view/TestTree'
// import TestVideo from '@/view/TestVideo'
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    // {
    //   path: '/',
    //   name: 'TestVideo',
    //   component: TestVideo
    // }
    {
      path: '/',
      name: 'TestScrollBar',
      component: (resolve) => {
        require(['@/view/TestScrollBar'], resolve)
      }
    }
  ]
})
